package com.ruoyi.operation.domain.bo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import java.util.Date;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 文件列业务对象
 *
 * @author ruoyi
 * @date 2025-07-22
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class TFileListBo extends BaseEntity {

    /**
     * 主键
     */
    @NotBlank(message = "主键不能为空", groups = { EditGroup.class })
    private String id;

    /**
     *
     */
    @NotBlank(message = "不能为空", groups = { AddGroup.class, EditGroup.class })
    private String filegroupid;

    /**
     * 2：完成；1：处理中；0：未处理
     */
    private String chilepath;

    /**
     * 可以有占位符
     */
    @NotBlank(message = "可以有占位符不能为空", groups = { AddGroup.class, EditGroup.class })
    private String filename;

    /**
     *
     */
    @NotBlank(message = "不能为空", groups = { AddGroup.class, EditGroup.class })
    private String memo;

    /**
     *
     */
    @NotBlank(message = "不能为空", groups = { AddGroup.class, EditGroup.class })
    private String period;

    /**
     *
     */
    @JsonFormat(pattern = "HH:mm",timezone = "GMT+8")
    @NotNull(message = "不能为空", groups = { AddGroup.class, EditGroup.class })
    private Date starttime;

    /**
     *
     */
    @NotBlank(message = "不能为空", groups = { AddGroup.class, EditGroup.class })
    private String flag;


}
